﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using VanTaiData;
using VanTaiProperty;

namespace VanTaiBLL
{
    public class TMPlan_TransferOrder_BusinessLogic
    {
        public static TMPlan_TransferOrder_Controller cls = new TMPlan_TransferOrder_Controller();
        #region[Get-Data]
        public DataTable BindGridTMPlan_TransferOrder()
        {
            return cls.BindGridTMPlan_TransferOrder();
        }
        public DataTable BindGridTMPlan_TransferOrder_Detail_Edit(int id)
        {
            return cls.BindGridTMPlan_TransferOrder_Detail_Edit(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool InsertTMCommandTransferOrde(VanTaiProperty.clsTMPlan_TransferOrderProperty obj)
        {
            return cls.InsertTMCommandTransferOrde(obj);
        }
        public static bool UpdateTMCommandTransferOrde(VanTaiProperty.clsTMPlan_TransferOrderProperty obj)
        {
            return cls.UpdateTMCommandTransferOrde(obj);
        }
        public static bool DeleteTMCommandTransferOrder(int id)
        {
            return cls.DeleteTMCommandTransferOrder(id);
        }
        public static bool TranferTMCommandTransferOrder(VanTaiProperty.clsTMPlan_TransferOrderProperty obj)
        {
            return cls.TranferTMCommandTransferOrder(obj);
        }
        #endregion

        #region[Search-Fillter]
        public DataTable TMCommandTransferOrde_Fillter_Date(string DateBegin, string EndBegin)
        {
            return cls.TMCommandTransferOrde_Fillter_Date(DateBegin, EndBegin);
        }
        public DataTable Search(string keywords)
        {
            return cls.Search(keywords);
        }
        #endregion
    }
}
